package com.its.feign.server.domain.d1.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaxp
 * @since 2021-05-20
 */

@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_test_dt_json")
public class DtJson implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private LocalDate dtOnly;

    private LocalDateTime dt;

    private LocalDateTime dtStamp;

    private LocalTime timeOnly;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getDtOnly() {
        return dtOnly;
    }

    public void setDtOnly(LocalDate dtOnly) {
        this.dtOnly = dtOnly;
    }

    public LocalDateTime getDt() {
        return dt;
    }

    public void setDt(LocalDateTime dt) {
        this.dt = dt;
    }

    public LocalDateTime getDtStamp() {
        return dtStamp;
    }

    public void setDtStamp(LocalDateTime dtStamp) {
        this.dtStamp = dtStamp;
    }

    public LocalTime getTimeOnly() {
        return timeOnly;
    }

    public void setTimeOnly(LocalTime timeOnly) {
        this.timeOnly = timeOnly;
    }
}
